<?php

namespace App\Console\Commands\Tasks;
use Illuminate\Console\Command;
use App\Http\Controllers\Common\TaskController;

class ConnectionIntimacyCommand extends Command
{
    //命令名
    protected $signature = 'task:connectionIntimacy';

    //命令描述：每分钟检查CP语聊增加亲密度
    protected $description = 'connectionIntimacy';

    public function __construct()
    {
        parent::__construct();
    }

    //业务处理
    public function handle()
    {
        //1次/min
        (new TaskController())->intimacyAddByChat();
    }

}